
//with函数是run的变体，功能行为一样，调用方式不一样
fun main() {
    val result1 = "The people's Republic of China.".run {
        length >= 10
    }
    val result2 = with("The people's Republic of China.") {
        length >= 10
    }
}